Eclipse Platform
Pre-release 3.0

org.eclipse.core.runtime
Interface IRegistryChangeEvent


public interface IRegistryChangeEvent

Registry change events describe changes to the registry.

This interface is not intended to be implemented by clients.

Since:
3.0

Method Summary
 IExtensionDelta getExtensionDelta(String hostId, String extensionPoint, String extension)
          Returns the delta for the given host, extension point and extension.
 IExtensionDelta[] getExtensionDeltas()
          Returns all extension deltas for all hosts.
 IExtensionDelta[] getExtensionDeltas(String hostId)
          Returns all extension deltas for the given host.
 IExtensionDelta[] getExtensionDeltas(String hostId, String extensionPoint)
          Returns all the extension deltas for the given host and extension point.
 

Method Detail

getExtensionDeltas

public IExtensionDelta[] getExtensionDeltas()
Returns all extension deltas for all hosts. Returns an empty array if there are no deltas in this event.

Returns:
all extension deltas

getExtensionDeltas

public IExtensionDelta[] getExtensionDeltas(String hostId)
Returns all extension deltas for the given host. Returns an empty array if there are no deltas in this event for any extension points provided by the given host.

Parameters:
hostId - the host identifier
Returns:
all extension deltas for the given host

getExtensionDeltas

public IExtensionDelta[] getExtensionDeltas(String hostId,
                                            String extensionPoint)
Returns all the extension deltas for the given host and extension point. Returns an empty array if there are no deltas in this event for the given extension point.

Parameters:
hostId - the host identifier
extensionPoint - the simple identifier of the extension point (e.g. "builders")
Returns:
all extension deltas for the given extension point

getExtensionDelta

public IExtensionDelta getExtensionDelta(String hostId,
                                         String extensionPoint,
                                         String extension)
Returns the delta for the given host, extension point and extension. Returns null if none exists in this event.

Parameters:
hostId - the host identifier
extensionPoint - the simple identifier of the extension point (e.g. "builders")
extension - the unique identifier of the extension
Returns:
the extension delta, or null

Eclipse Platform
Pre-release 3.0

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.